CFLAG=-std=c++14 -I ../../include #上一级路径的上一级路径下
LFLAG=-L ../../build/release-install-cpp11/lib -lmuduo_net -lmuduo_base -ljsoncpp

all:Rpcclient Rpcserver RegisterSever


Rpcclient:Rpc_client.cpp
	g++ Rpc_client.cpp -o Rpcclient $(CFLAG) $(LFLAG)

Rpcserver:Rpc_server.cpp
	g++ Rpc_server.cpp -o Rpcserver $(CFLAG) $(LFLAG)

RegisterSever:Register_server.cpp
	g++ Register_server.cpp -o RegisterSever $(CFLAG) $(LFLAG)

.PHNOY:clean
clean:
	rm -fr Rpcclient Rpcserver RegisterSever